package com.song.service;

import com.song.pojo.RoomType;
import com.song.vo.RoomTypeVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2020/12/21 - the current system date.
 * 21:42 - the current system time.
 */
public interface RoomTypeService {
    /**
     * 查询房型列表
     * @param roomTypeVo
     * @return
     */
    List<RoomType> findRoomTypeList(RoomTypeVo roomTypeVo);


    /**
     * 添加房型
     * @param roomType
     * @return
     */
    int addRoomType(RoomType roomType);


    /**
     * 修改房型
     * @param roomType
     * @return
     */
    int updateRoomType(RoomType roomType);
}
